package com.deli.dubbo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 学习springboot的缓存
 * 在springboot的main方法中添加@EnableCaching注解，说明开启了注解
 */
@SpringBootApplication
@EnableCaching//开启缓存
public class StudyCacheApplication {

    public static void main(String[] args) {
        SpringApplication.run(StudyCacheApplication.class, args);
    }
}
